/*
 * $Id: DeliveryModel.java 42 2013-04-17 15:33:59Z gabakyan $
 * $Author: gabakyan $
 * $Revision: 42 $
 * $Date: 2013-04-17 15:33:59 +0000 (Wed, 17 Apr 2013) $
 *
 * Copyright (c) 2013 Supply Chain Intelligence (SCI), Inc.
 * http://www.scintelligence.com/, Email: info@scintelligence.com
 * All rights reserved.
 *
 * This file is part of Logistics Map.
 *
 * Logistics Map is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, version 3 of the License.
 *
 * Logistics Map is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Logistics Map.  If not, see <http://www.gnu.org/licenses/>.
 */

package com.sci.logisticsmap.data.model.location;

import com.sci.logisticsmap.support.model.geocoding.DirectionsRoute;
import com.sci.logisticsmap.support.model.geocoding.LatLng;
import com.sci.logisticsmap.data.model.LocationModel;
import org.springframework.data.annotation.PersistenceConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * The Delivery Location model.
 *
 * @author gabakyan@gmail.com (Last modified by $Author: gabakyan $)
 * @version $Revision: 42 $
 *
 * @see com.sci.logisticsmap.data.model.LocationModel
 */
@SuppressWarnings("unused")
@Document(collection="location")
public class DeliveryModel extends LocationModel {
    /**
     * The serial version id.
     */
    private static final long serialVersionUID = 1L;

    /**
     * The default constructor.
     * Creates a new Delivery Location model.
     */
    public DeliveryModel() {
    }

    /**
     * Creates a new Delivery Location model.
     *
     * @param label The label.
     * @param address The address.
     * @param city The city.
     * @param state The state.
     * @param zipCode The zip code.
     * @param country The country.
     */
    public DeliveryModel(String label, String address, String city, String state, String zipCode, String country) {
        super(label, address, city, state, zipCode, country);
    }

    /**
     * Creates a new Delivery Location model.
     *
     * @param label The label.
     * @param address The address.
     * @param city The city.
     * @param state The state.
     * @param zipCode The zip code.
     * @param country The country.
     * @param latLng The Lat & Lng.
     */
    public DeliveryModel(String label, String address, String city, String state, String zipCode, String country, LatLng latLng) {
        super(label, address, city, state, zipCode, country, latLng);
    }

    /**
     * The persistence constructor.
     * Creates a new Delivery Location model.
     *
     * @param dc The dc.
     * @param label The label.
     * @param address The address.
     * @param city The city.
     * @param state The state.
     * @param zipCode The zip code.
     * @param country The country.
     * @param latLng The Lat & Lng.
     * @param routes The routes.
     */
    @PersistenceConstructor
    public DeliveryModel(DCModel dc, String label, String address, String city, String state, String zipCode, String country, LatLng latLng, List<DirectionsRoute> routes) {
        super(dc, label, address, city, state, zipCode, country, latLng, routes);
    }
}
